package com.ants.boot.core.exception;

/**
 * @author : 蚂蚁会花呗
 * @date : 2023-08-28 11:23
 * 自定义404请求路由找不到异常，因为全局异常捕获无法捕获NoHandlerFoundException异常
 * 使用@EnableWebMvc禁用默认配置时，虽然能正常捕获但是swagger等页面无法访问
 *
 **/
public class NewNoHandleFoundException extends RuntimeException{

    public NewNoHandleFoundException() {
    }

    public NewNoHandleFoundException(String message) {
        super(message);
    }

    public NewNoHandleFoundException(String message, Throwable cause) {
        super(message, cause);
    }
}
